<?php
/**
 * @name: HOTN Scroller
 * @version: 1.0
 * @license: GPLv2
 * @link: http://code.google.com/p/hotnscroller/
 * 
 * @author: HammerOnTheNail
 * @link: http://hotn.hu/
 */

include(e_PLUGIN."hotn_scroller/languages/".e_LANGUAGE.".php");

// Plugin info
$eplug_name = "HOTN Scroller";
$eplug_version = "1.0";
$eplug_author = "HammerOnTheNail";
$eplug_email = 'info@hotn.hu';
$eplug_url = "http://code.google.com/p/hotnscroller/";
$eplug_compatible = "e107v0.7.18+";

$eplug_folder = "hotn_scroller";
$eplug_menu_name = "hotn_scroller";
$eplug_icon = $eplug_folder."/images/icon_32.jpg";
$eplug_icon_small = $eplug_folder."/images/icon_16.jpg";

// Státusz menü hasnálata az adminban
$eplug_status = FALSE;

$eplug_link = FALSE;

$eplug_description = HOTN_SCROLLER_PLUGIN_DESCRIPTION; 
$eplug_done = HOTN_SCROLLER_PLUGIN_DONE;

$eplug_conffile = "admin/admin_index.php";
$eplug_caption = "HOTN Scroller";

// MySQL info

$eplug_table_names = array(
	"hotn_scroller_ittems",
	"hotn_scroller_options"
);

$eplug_tables = array(
	"CREATE TABLE `".MPREFIX."hotn_scroller_ittems` (
		`ittems_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
		`ittems_title` VARCHAR( 50 ) NOT NULL ,
		`ittems_text` TEXT NOT NULL ,
		`ittems_link` TEXT NOT NULL ,
		`ittems_link_type` VARCHAR( 10 ) NOT NULL,
		`ittems_order` INT NOT NULL ,
		`ittems_image` VARCHAR( 150 ) NOT NULL
	) ENGINE = MYISAM ;",
	"CREATE TABLE `".MPREFIX."hotn_scroller_options` (
		`hotn_scroller_options_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
		`hotn_scroller_options_name` VARCHAR( 20 ) NOT NULL ,
		`hotn_scroller_options_value` VARCHAR( 50 ) NOT NULL
	) ENGINE = MYISAM ;"
);
?>